import { nodeResolve } from "@rollup/plugin-node-resolve"
import commonjs from "@rollup/plugin-commonjs"
import json from "@rollup/plugin-json"
// rollup.config.mjs
// ---cut-start---
/** @type {import('rollup').RollupOptions} */
// ---cut-end---
export default {
  input: "main.js",
  output: {
    file: "bundle.js",
    format: "cjs",
  },
  plugins: [json(), nodeResolve(), commonjs()],
}
